package com.daka.enumerate;

/**
 * @author beliveli on 2016/5/11
 */
@SuppressWarnings("unused")
public enum DictionaryMap {

    SYSTEM(1, "系统管理"), APP(2, "APP管理"), MATERIAL(3, "素材管理"), LEAGUE(4, "社团管理"),
    RESET_PASSWORD(100001, "重置密码"),
    CERTIFICATE_TYPE_IDCARD(1, "身份证"), CERTIFICATE_TYPE_DRIVER(2, "驾照"),
    USER_ROLE_SELECT(1, "只读"), USER_ROLE_EDIT(2, "可以修改");

    private int code;
    @SuppressWarnings({"FieldCanBeLocal", "unused"})
    private String message;

    DictionaryMap(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getStatusCode() {
        return code;
    }
}
